/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __USERPROFILELUT_H__
#define __USERPROFILELUT_H__

#include <stdio.h>
#include <string.h>
#include "userCfg_far.h"
#include "userCfg_near.h"
#include "hal_rc8088.h"

#define AUTO_WAVE_EN               (1)
#define TEST_COMPELX_WAVE_EN       (0)
#define TEST_TXPHASE_WAVE_EN       (0)
#define TEST_TXPHASE_SHOW_EN       (0)
#define TEST_CALIB_WAVE_EN         (0)
#define TEST_AUTO_CALIB_EN         (0)


#define Write_M64(addr, value) (*((uint64_t *) (addr)) = (uint64_t)value)
#define Write_M32(addr, value) (*((uint32_t *) (addr)) = value)
#define Write_M16(addr, value)  (*((uint16_t *) (addr)) = (uint16_t)value)
#define Write_M8(addr, value)  (*((uint8_t *) (addr)) = (uint8_t)value)


typedef struct{
	uint8_t txI;
	uint8_t txQ;
}STRUCT_CPX;
void RC8088_ProfileLutConfig(RC8088_RWCfg_st *pCfg,RC8088_RegCfg_st *rc8088_regCfg,STRUCT_PROFILEMEM_ADDR *profileMemAddr,STRUCT_RC8088_USERCFG *rc8088_userCfg);
void RC8088_ProfileLutComplexWaveConfig(void);
void RC8088_ProfileLutTXPhaseConfig(void);
void RC8088_ProfileLutTXPhaseReload(uint32_t frameCnt);
void RC8088_ProfileLutPASwitch(uint32_t paNum);
void RC8088_ProfileLutCalibWaveConfig(void);
#endif /*__USERPROFILELUT_H__ */

/************************ (C) COPYRIGHT  *****END OF FILE****/























